@deep: ~'>>>';

.content-wrap {

  .content-box {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .content-left,
  .content-right,
  .content-center {
    position: absolute;
    top: 0;
    bottom: 0;
  }

  .content-left,
  .content-right {
    width: 25%;
  }


  .chart-box {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .card-tit {
    line-height: 24px;
  }
}

// 左边区域样式
.content-left {
  left: 0;
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  box-sizing: border-box;

  .top-wrap,
  .bottom-wrap {
    flex: 1;
    overflow: hidden;
  }
  .top-wrap {
    margin-bottom: 10px;
  }

  .table-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    .table-item {
      flex: 1;
    }
    .page-box {
      height: 36px;
      line-height: 36px;
      text-align: center;
    }
  }

  @{deep} .ivu-card-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}

// 中间样式
.content-center {
  left: 25%;
  right: 25%;
  padding: 0 10px;
  box-sizing: border-box;
}

// 右边区域样式
.content-right {
  right: 0;
  display: flex;
  flex-direction: column;
  padding-right: 10px;
  box-sizing: border-box;

  .top-box {
    flex: 1;
    margin-bottom: 10px;
    overflow: hidden;

    .title-text {
      line-height: 24px;
    }

    .chart-box {
      overflow: hidden;
    }

    .zidan-box {
      overflow-y: auto;

      .zidan-item {
        height: 100px;
      }
    }
  }

  .detail-box {
    min-height: 130px;
    overflow-y: auto;
  }

  .meter-detail-wrap {
    padding: 0 10px;
  }

  .show-detail-btn {
    padding: 10px 0;
  }

  @{deep} .ivu-card-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}

// k线模态框
.kxian-modal {
  .chart-box {
    height: 100%;
  }
}

// 表格数据操作
.operate-table {
  @{deep} .ivu-modal-body {
    top: 44px;
    bottom: 54px;
  }
}

// 参数设置
.params-setting-box {
  @{deep} .ivu-select-dropdown {
    width: 300px;
    padding: 10px 10px 5px;

    .self-range {
      display: flex;
      flex-direction: row;
    }

    .ivu-form-item {
      flex: 1;
    }

    .space-line {
      display: block;
      width: 10px;
      height: 1px;
      background-color: #ddd;
      margin: 15px 8px 0;
    }
  }

  .bottom-box {
    padding: 5px 0;
  }
}
